package com.yby.dome1;

public class Teacher extends Person{
    int tYear;
    String sMajor;
    public void say(){
        System.out.println(name+age+sex+id+tYear+sMajor);
    }
}
